/*
 * Copyright 2011 derek.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.aocore.awesomo;

import com.aocore.d2data.UnitType;
import com.aocore.d2data.WarpType;

/**
 *
 * @author derek
 */
public class Warp
{
    private UnitType unitType;
    private final int uid;
    private WarpType warpType;
    private int x;
    private int y;

    public Warp(int uid)
    {
        this.uid = uid;
    }

    public UnitType getUnitType()
    {
        return unitType;
    }

    public void setUnitType(UnitType unitType)
    {
        this.unitType = unitType;
    }

    public int getUid()
    {
        return uid;
    }

    public WarpType getWarpType()
    {
        return warpType;
    }

    public void setWarpType(WarpType warpType)
    {
        this.warpType = warpType;
    }

    public int getX()
    {
        return x;
    }

    public void setX(int x)
    {
        this.x = x;
    }

    public int getY()
    {
        return y;
    }

    public void setY(int y)
    {
        this.y = y;
    }
}
